{% block header %}
<div id="header">
    <div id="topbar">
      <ul>{% if user.is_authenticated %}
        <li>Logged in as {{ user.username }}</li>
        <li><a href="/logout/">Log out</a></li>
        {% if user.is_staff %}<li><a href="/admin/">Admin</a></li>{% endif %}
      {% else %}
        <li>You are not logged in</li>
        <li><a href="/login/?next=/rss/">Login</a></li>
        <li><a href="/register/">Create an account</a></li>
      {% endif %}
      </ul>
    </div><!-- topbar -->
    <h1><a href="/">django-PIM!</a></h1>
    <p id="subtitle">Your Comm-Center</p>
</div><!-- header -->
{% endblock %}
